package com.daofactory;

import com.dao.*;
import com.daoImpl.*;

/**
 * @author 徐洲
 * @version 1.0
 */
public class DaoFactory {
    public static ArticleDAO getArticleDAOInstance(){
        return new ArticleDAOImpl();
    }
    public static CategoryDAO getCategoryDAOInstance(){
        return new CategoryDAOImpl();
    }
    public static UserDAO getUserDAOInstance(){
        return new UserDAOImpl();
    }
    public static CommentDAO getCommentDAOInstance() {return new CommentDAOImpl();}
    public static AdminDAO getAdminDAOInstance() {return new AdminDAOImpl();}
}
